package com.speedchina.permission.base.sysenum;

/**
 *
 * @author Winter
 */
public enum SysErrorCodeEnum {

    SYS_EXCEPTION("500","系统异常"),
    SYS_UNKONW_EXCEPTION("-1", "未知异常，请联系管理员"),

    SYS_TOKEN_UNVALID("10000","token无效，请重新登录"),
    SYS_TOKEN_EXPERICE("10001","token过期");

    private String code;
    private String msg;
    SysErrorCodeEnum(String i, String msg) {
        this.code=i;
        this.msg=msg;
    }
    public String getCode(){
        return this.code;
    }
    public String getMsg(){
        return this.msg;
    }
}
